#pragma once

#include "MeshDef.h"
#include "GLScene.h"

class ObjReader
{
public:
	MeshPtr ReadMesh(const std::string& path, bool exitOnFail = false);
	GLMeshPtr AsGLMesh(const MeshPtr& mesh);
	GLMeshPtr AsGLMesh(const MeshPtr& mesh, FaceList& fList, Mesh::TexCoord2D tex);
	GLMeshPtr AsParaGLMesh(const MeshPtr& mesh);
};